import {ref} from 'vue';
export const useButton = ()=>{
  const buttonLoading = ref(true);
  const buttonClick = ()=>{
    console.log('handleclick')
  }
  setTimeout(()=>{
    buttonLoading.value = false;
  },2000)
  return {
    buttonClick,
    buttonLoading
  }
}